home *** CD-ROM | disk | FTP | other *** search
- var §\x01§ = 683;
- while(true)
- {
- if(eval("\x01") == 683)
- {
- set("\x01",eval("\x01") - 598);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 961)
- {
- set("\x01",eval("\x01") - 746);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 454);
- }
- continue;
- }
- if(eval("\x01") == 85)
- {
- set("\x01",eval("\x01") + 20);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 138);
- }
- continue;
- }
- if(eval("\x01") == 890)
- {
- set("\x01",eval("\x01") - 831);
- nextFrame();
- break;
- }
- if(eval("\x01") == 561)
- {
- set("\x01",eval("\x01") + 146);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 331);
- }
- continue;
- }
- if(eval("\x01") == 59)
- {
- set("\x01",eval("\x01") + 902);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 769)
- {
- set("\x01",eval("\x01") - 404);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 227);
- }
- continue;
- }
- if(eval("\x01") == 923)
- {
- set("\x01",eval("\x01") - 413);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 426);
- }
- continue;
- }
- if(eval("\x01") == 376)
- {
- set("\x01",eval("\x01") + 547);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 707)
- {
- set("\x01",eval("\x01") - 331);
- break;
- }
- if(eval("\x01") == 365)
- {
- set("\x01",eval("\x01") + 227);
- break;
- }
- if(eval("\x01") == 505)
- {
- set("\x01",eval("\x01") + 23);
- break;
- }
- if(eval("\x01") == 137)
- {
- set("\x01",eval("\x01") + 472);
- set(§§pop(),eval(§§pop()) + 132);
- pr._alpha = 0;
- step = 10;
- this.onEnterFrame = function()
- {
- pr.gotoAndStop(Math.round(100 * _root.getBytesLoaded() / _root.getBytesTotal()));
- pr._alpha += step;
- if(pr._alpha > 100)
- {
- pr._alpha = 100;
- step = 0;
- }
- if(step < 0)
- {
- this._alpha += step;
- }
- if(this._alpha <= 0)
- {
- this._parent.loaded();
- }
- if(_root.getBytesLoaded() == _root.getBytesTotal())
- {
- step = -10;
- }
- };
- stop();
- break;
- }
- if(eval("\x01") == 510)
- {
- set("\x01",eval("\x01") - 426);
- break;
- }
- if(eval("\x01") == 609)
- {
- set("\x01",eval("\x01") + 160);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 241)
- {
- set("\x01",eval("\x01") + 264);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 23);
- }
- continue;
- }
- if(eval("\x01") == 528)
- {
- set("\x01",eval("\x01") + 33);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 243)
- {
- set("\x01",eval("\x01") + 78);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 592)
- {
- set("\x01",eval("\x01") + 10);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 84)
- {
- set("\x01",eval("\x01") + 158);
- if(!_global.engine)
- {
- _global.engine = new Object();
- }
- §§pop();
- if(!_global.engine.Screen)
- {
- engine.Screen extends MovieClip;
- var _loc2_ = engine.Screen = function()
- {
- super();
- this.arrowMc = this.createEmptyMovieClip("arrowMc",this.getNextHighestDepth());
- this.gameArea = this.level4.level3.level2.level1;
- this.cameraSpeed = 100;
- this.poleRot = 0;
- this.scale = 400;
- }.prototype;
- _loc2_.setGoal = function(g, p)
- {
- this.goal = g;
- this.preview = p;
- };
- _loc2_.setCameraSpeed = function(val)
- {
- this.cameraSpeed = val;
- };
- _loc2_.loadBg = function(url, compliteFunc, progressFunc, goal)
- {
- if(!this.gameArea.trassa)
- {
- this.gameArea.createEmptyMovieClip("trassa",this.gameArea.getNextHighestDepth());
- }
- var _loc2_ = new Object();
- var _loc3_ = new MovieClipLoader();
- _loc2_.parent = this;
- _loc2_.onLoadInit = function(g)
- {
- trace("screen loading complite " + compliteFunc);
- this = this.parent;
- g._xscale = this.scale;
- g._yscale = this.scale;
- compliteFunc.apply(goal,[true]);
- };
- _loc2_.onLoadError = function(g)
- {
- trace("screen loading error " + compliteFunc);
- this = this.parent;
- compliteFunc.apply(goal,[false]);
- };
- _loc2_.onLoadProgress = function(target, bytesLoaded, bytesTotal)
- {
- this = this.parent;
- progressFunc.apply(goal,[bytesLoaded,bytesTotal]);
- };
- _loc3_.addListener(_loc2_);
- _loc3_.loadClip(url,this.gameArea.trassa);
- trace(">>>>>>>> url " + url);
- };
- _loc2_.setSize = function(x, y, dx, dy)
- {
- this._x = x;
- this._y = y;
- this.level4._x = dx / 2;
- this.level4._y = dy / 2;
- this.level4.level3._yscale = 60;
- var _loc3_ = this._parent.getNextHighestDepth();
- var _loc2_ = this._parent.createEmptyMovieClip("mask " + _loc3_,_loc3_);
- _loc2_.beginFill(0,100);
- _loc2_.moveTo(0,0);
- _loc2_.lineTo(0,dy);
- _loc2_.lineTo(dx,dy);
- _loc2_.lineTo(dx,0);
- _loc2_._x = x;
- _loc2_._y = y;
- _loc2_.endFill();
- this.setMask(_loc2_);
- };
- _loc2_.getAngel = function(angel)
- {
- this.arrowMc._rotation = angel;
- return this.arrowMc._rotation;
- };
- _loc2_.updateLevel1 = function()
- {
- var _loc2_ = new Object();
- _loc2_.x = this.goal.getX();
- _loc2_.y = this.goal.getY();
- this.gameArea.trassa.localToGlobal(_loc2_);
- this.gameArea.globalToLocal(_loc2_);
- this.gameArea._x -= (_loc2_.x + this.gameArea._x) / 5;
- this.gameArea._y -= (_loc2_.y + this.gameArea._y) / 5;
- };
- _loc2_.updateLevel2 = function()
- {
- var _loc4_ = this.level4.level3.level2._rotation;
- var _loc3_ = this.goal.getRotation();
- var _loc6_ = _loc3_ - _loc4_;
- var _loc5_ = _loc4_ - _loc3_;
- this.poleRot += this.getAngel(- _loc3_ - this.poleRot) / _root.gameInfo.settings.cameraSpeed;
- this.level4.level3.level2._rotation = this.poleRot - 90;
- this.preview.preview._rotation = _loc4_;
- };
- addr599:
- _loc2_.updateLevel3 = function()
- {
- var _loc2_ = 100 - 50 * (this.goal.autoSpeed / this.goal.autoSpeedMax);
- this.level4._xscale -= (this.level4._xscale - _loc2_) / 50;
- this.level4._yscale -= (this.level4._yscale - _loc2_) / 50;
- this.scaleNow = this.level4._xscale;
- };
- _loc2_.update = function()
- {
- this.updateLevel1();
- this.updateLevel2();
- this.updateLevel3();
- };
- _loc2_.addObject = function()
- {
- var _loc2_ = this.getNextHighestDepth();
- var _loc3_ = this.attachMovie("a1","a" + _loc2_,this.getNextHighestDepth());
- return _loc3_;
- };
- _loc2_.loadObjSkin = function(g, url, compliteFunc, progressFunc, goal)
- {
- var _loc2_ = new Object();
- var _loc3_ = new MovieClipLoader();
- _loc2_.parent = this;
- _loc2_.onLoadInit = function(g)
- {
- trace("obj skin loading complite " + compliteFunc);
- this = this.parent;
- compliteFunc.apply(goal,[true]);
- };
- _loc2_.onLoadError = function(g)
- {
- trace("obj skin loading error " + compliteFunc);
- this = this.parent;
- compliteFunc.apply(goal,[false]);
- };
- _loc2_.onLoadProgress = function(target, bytesLoaded, bytesTotal)
- {
- this = this.parent;
- progressFunc.apply(goal,[bytesLoaded,bytesTotal]);
- };
- _loc3_.addListener(_loc2_);
- _loc3_.loadClip(url,g);
- trace(">>>>>>>> url " + url);
- };
- _loc2_.get360 = function(num)
- {
- return num - 360 * Math.floor(num / 360);
- };
- _loc2_.updateObject = function(g1, p)
- {
- var _loc2_ = new Object();
- _loc2_.x = p.getX();
- _loc2_.y = p.getY();
- this.gameArea.trassa.localToGlobal(_loc2_);
- this.globalToLocal(_loc2_);
- g1._x = _loc2_.x;
- g1._y = _loc2_.y;
- var _loc5_ = Math.round(this.get360(p.getRotation() + this.poleRot) / 5);
- g1.gotoAndStop(_loc5_);
- g1.swapDepths(Math.round(g1._y * 1000));
- g1._xscale = this.scaleNow;
- g1._yscale = this.scaleNow;
- };
- §§push(ASSetPropFlags(engine.Screen.prototype,null,1));
- }
- §§pop();
- break;
- }
- if(eval("\x01") == 321)
- {
- set("\x01",eval("\x01") + 569);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 831);
- }
- continue;
- }
- if(eval("\x01") == 454)
- {
- set("\x01",eval("\x01") - 317);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 472);
- }
- continue;
- }
- if(eval("\x01") == 975)
- {
- set("\x01",eval("\x01") - 734);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 377)
- {
- set("\x01",eval("\x01") + 598);
- break;
- }
- if(eval("\x01") == 602)
- {
- set("\x01",eval("\x01") - 225);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 598);
- }
- continue;
- }
- if(eval("\x01") != 105)
- {
- if(eval("\x01") == 215)
- {
- set("\x01",eval("\x01") + 454);
- §§pop() extends §§pop() | (§§pop() | §§pop() << §§pop() % (§§pop() << (§§pop() >>> (§§pop() gt §§pop() >>> (§§pop() | §§pop())))));
- trace(§§pop() << (§§pop() gt (§§pop() > §§pop())()));
- trace(§§pop() << (§§pop() gt (§§pop() >>> (§§pop() << §§pop()))()));
- §§pop() extends §§pop() >> (§§pop() >>> §§pop());
- §§push(§§pop() >>> (§§pop() >> (§§pop() | §§pop() >>> §§pop()())));
- break;
- }
- if(eval("\x01") != 669)
- {
- break;
- }
- set("\x01",eval("\x01") - 215);
- §§push(true);
- continue;
- }
- set("\x01",eval("\x01") + 138);
- toggleHighQuality();
- toggleHighQuality();
- §§pop()[§§pop()]._xscale = engine.Screen = function()
- {
- super();
- this.arrowMc = this.createEmptyMovieClip("arrowMc",this.getNextHighestDepth());
- this.gameArea = this.level4.level3.level2.level1;
- this.cameraSpeed = 100;
- this.poleRot = 0;
- this.scale = 400;
- }.level4._xscale - (engine.Screen = function()
- {
- super();
- this.arrowMc = this.createEmptyMovieClip("arrowMc",this.getNextHighestDepth());
- this.gameArea = this.level4.level3.level2.level1;
- this.cameraSpeed = 100;
- this.poleRot = 0;
- this.scale = 400;
- }.level4._xscale - _loc2_) / 50;
- engine.Screen = function()
- {
- super();
- this.arrowMc = this.createEmptyMovieClip("arrowMc",this.getNextHighestDepth());
- this.gameArea = this.level4.level3.level2.level1;
- this.cameraSpeed = 100;
- this.poleRot = 0;
- this.scale = 400;
- }.level4._yscale = engine.Screen = function()
- {
- super();
- this.arrowMc = this.createEmptyMovieClip("arrowMc",this.getNextHighestDepth());
- this.gameArea = this.level4.level3.level2.level1;
- this.cameraSpeed = 100;
- this.poleRot = 0;
- this.scale = 400;
- }.level4._yscale - (engine.Screen = function()
- {
- super();
- this.arrowMc = this.createEmptyMovieClip("arrowMc",this.getNextHighestDepth());
- this.gameArea = this.level4.level3.level2.level1;
- this.cameraSpeed = 100;
- this.poleRot = 0;
- this.scale = 400;
- }.level4._yscale - _loc2_) / 50;
- engine.Screen = function()
- {
- super();
- this.arrowMc = this.createEmptyMovieClip("arrowMc",this.getNextHighestDepth());
- this.gameArea = this.level4.level3.level2.level1;
- this.cameraSpeed = 100;
- this.poleRot = 0;
- this.scale = 400;
- }.scaleNow = engine.Screen = function()
- {
- super();
- this.arrowMc = this.createEmptyMovieClip("arrowMc",this.getNextHighestDepth());
- this.gameArea = this.level4.level3.level2.level1;
- this.cameraSpeed = 100;
- this.poleRot = 0;
- this.scale = 400;
- }.level4._xscale;
- §§goto(addr599);
- }
-